package com.per.mybootall.webService.server;

import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebService;

/**
 * Created with IntelliJ IDEA.
 *
 * @author: yyy
 * Date: 2021/11/17
 * Time: 10:50
 * Description:
 */
@WebService
public class ServerHello {
    //该方法供客户端调用
    @WebMethod
    public String getValue(@WebParam(name = "name") String name) {
        System.out.println("进入了服务端---------------------------------------------------------------------------------------------------");
        return "server返回的值为:" + name;
    }
}
